package com.ego.vo;

/**
 * @author 袁梦达 2019012364
 */
public class OrderItemVo {
    private Integer orderItemId;
    private Integer orderId; //属于哪个订单
    private Integer productId;
    private String baseInformation;
    private String image;
    private Integer quantity;
    private double price;
    private double sumPrice;

    public OrderItemVo() {
    }

    public OrderItemVo(Integer orderItemId, Integer orderId, Integer productId, String baseInformation, String image, Integer quantity, double price, double sumPrice) {
        this.orderItemId = orderItemId;
        this.orderId = orderId;
        this.productId = productId;
        this.baseInformation = baseInformation;
        this.image = image;
        this.quantity = quantity;
        this.price = price;
        this.sumPrice = sumPrice;
    }

    public Integer getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Integer orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getBaseInformation() {
        return baseInformation;
    }

    public void setBaseInformation(String baseInformation) {
        this.baseInformation = baseInformation;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(double sumPrice) {
        this.sumPrice = sumPrice;
    }
}
